﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Adminitrator.master"
  AutoEventWireup="true" CodeFile="Details.aspx.cs" Inherits="admin_CateProd_Details" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
  <h1 id="h3Title" class="title" runat="server">
    Thêm mới danh mục sản phẩm</h1>
  <div class="detail ">
    <fieldset class="fieldset">
      <legend>Thông tin danh mục</legend>
      <asp:ScriptManager ID="ScriptManager1" runat="server">
      </asp:ScriptManager>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate> 
          <table>
             <tr>
              <td>Nhóm sản phẩm : </td>
              <td>
              <asp:DropDownList ID="dropMode" runat="server" CssClass="dropDown" Width="360px" />
               </td>
            </tr>
            <tr>
              <td>
                Danh mục cha :
              </td>
              <td>
                <asp:DropDownList ID="dropParent" runat="server" CssClass="dropDown" 
                  Width="360px" AutoPostBack="true" 
                  onselectedindexchanged="dropParent_SelectedIndexChanged" />
              </td>
            </tr>
            <tr>
              <td valign="top" style="padding-top: 8px">
                Tên danh muc :
              </td>
              <td>
                      <table>
                  <tr>
                    <td align="right">
                      <span class="lang">VN</span>
                    </td>
                    <td>
                      <asp:TextBox ID="txtName" runat="server" CssClass="textbox" Width="300px" />
                    </td>
                  </tr>
                  <tr>
                    <td align="right">
                      <span class="lang">En</span>
                    </td>
                    <td>
                      <asp:TextBox ID="txtName_En" runat="server" CssClass="textbox" Width="300px"  />
                    </td>
                  </tr>
                </table>                 
              </td>
            </tr>
            <tr><td>&nbsp;</td>
              <td>
                <asp:RadioButton ID="radioDeAnh" runat="server" GroupName="ChonAnh" OnCheckedChanged="radioBoAnh_CheckedChanged"
                  AutoPostBack="true" />Dùng ảnh đại diện
                <asp:RadioButton ID="radioBoAnh" runat="server" GroupName="ChonAnh" OnCheckedChanged="radioBoAnh_CheckedChanged"
                  AutoPostBack="true" Checked="true" />Không dùng ảnh đại diện
              </td>
            </tr>
            <tr id="trFileUpload" runat="server" visible="false">
              <td>
                Ảnh đại diện :
              </td>
              <td>
                <asp:FileUpload ID="fileUpload" runat="server" />
              </td>
            </tr>
            <tr>
              <td>
                Tình trạng :
              </td>
              <td>
                <asp:RadioButton ID="radioEnable" GroupName="radioStatus" runat="server" Checked="true" />Bật
                <asp:RadioButton ID="radioVisible" GroupName="radioStatus" runat="server" />Tắt
              </td>
            </tr>           
          </table>
        </ContentTemplate>
      </asp:UpdatePanel> 
      <table style="width: 100%">
        <tr>
          <td style="width: 95px">
            &nbsp;
          </td>
          <td style="padding-top: 10px">
            <asp:Button ID="Button1" runat="server" Text="" CssClass="button btn-save" OnClick="btnOk_Click" />
            <input type="reset" value="" class="button btn-reset" />
            <asp:HyperLink ID="btnBack" runat="server" Text="Danh sách" CssClass="button btn-back"
              NavigateUrl="~/admin/CateProd/List.aspx" />
          </td>
        </tr>
      </table>
    </fieldset>
  </div>
  <asp:Literal ID="lbThongBao" runat="server" />
</asp:Content>
